public class ThreeSum{
	public static void mian(String args[]){
		int sum=0;
		int sum1=0;
		int sum2=0;
		int k=100;
		int j=100;
		for(int i=100;i<=200;i++){
			sum+=i;
		}System.out.println("for sum = " + sum);
		
		while(j<=200){
			sum1+=j;
			j++;
		}System.out.println("while sum = " + sum1);
		
		do{
			sum2+=k;
			k++;
		}while(k<=200);
			System.out.println("dowhile sum " + sum2);
	}
}